<!DOCTYPE html>
<html>
<head>
    <title>部门管理</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
<!--			<#if shiro.hasPermission("sys:sysdeptreg:save")>-->
<!--            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>-->
<!--			</#if>-->
			<#if shiro.hasPermission("sys:sysdeptreg:update")>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
			</#if>
			<#if shiro.hasPermission("sys:sysdeptreg:delete")>
            <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
			</#if>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">上级部门ID，一级部门为0</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.parentId" placeholder="上级部门ID，一级部门为0"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">部门名称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.name" placeholder="部门名称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">排序</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.orderNum" placeholder="排序"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">是否删除  -1：已删除  0：正常</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.delFlag" placeholder="是否删除  -1：已删除  0：正常"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业代码</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessCode" placeholder="企业代码"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企简称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessSimple" placeholder="业企简称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label"></div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessAll" placeholder=""/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业英文全称</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessEnall" placeholder="企业英文全称"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业联系人</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessContractpersion" placeholder="企业联系人"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企电话</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessTel" placeholder="业企电话"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业手机</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessPhone" placeholder="企业手机"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业传真</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessFax" placeholder="企业传真"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企网站</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessNet" placeholder="业企网站"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企邮箱</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessMail" placeholder="业企邮箱"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企税号</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessTax" placeholder="业企税号"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企开会行</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessAccount" placeholder="业企开会行"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企社会统一号码</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.creditCode" placeholder="业企社会统一号码"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业印章</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.seal" placeholder="企业印章"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业相关证照</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.picture" placeholder="企业相关证照"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企类型（1.集装箱，2散货）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessType" placeholder="业企类型（1.集装箱，2散货）"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">是否具备危险品运输资格</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.ifDanger" placeholder="是否具备危险品运输资格"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">备注</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.remarks" placeholder="备注"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企注册类型</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessRegistrationtype" placeholder="业企注册类型"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">企业启用日期</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessStartdate" placeholder="企业启用日期"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企启用时长</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessUsedate" placeholder="业企启用时长"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">业企缴费日期</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessMoneydate" placeholder="业企缴费日期"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">注册企业是否开头增值服务(1微信服务，2仓储接口，3报关接口，4堆场接口，5码头接口，6其他接口)</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessValueadded" placeholder="注册企业是否开头增值服务(1微信服务，2仓储接口，3报关接口，4堆场接口，5码头接口，6其他接口)"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">注册企业系统注册时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="sysDeptReg.businessSysrigisdate" placeholder="注册企业系统注册时间"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/sys/sysdeptreg.js?_${.now?long}"></script>
</body>
</html>